<?php
/*
 *	FalconKMS Header and Settings management code
 *	Version: 2.0 (March 2010)
 *	Author: Geoff Wilson (contact@gawilson.net)
*/

require_once "config.php";

$sql = "SELECT * FROM `kb_settings`";
$queryResult = mysql_query($sql);
$killboardSettings = mysql_fetch_array($queryResult);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Evolution KMS EVO Demo Site</title>
<link rel="stylesheet" href="style/desktop.css" />
<link rel="stylesheet" href="style/layout.css" />
</head>

<body>

    <div id="wrapper">

        <div id="header">
            
        </div>

        <div id="navigation">
            <a href="index.php">Home</a> -
            <a href="submit.php">Submit</a> -
            <a href="search.php">Search</a> -
            <a href="#">Conflicts</a> -
            <a href="#">Stats</a> -
            <a href="#">API</a> -
            <a href="#">Support</a>
        </div>

        <div id="login">
        <?php
        if ($_SERVER['PHP_SELF'] != "/logout.php")
        {
        	include_once "login.php";
        }   
        ?>
        </div>

        <div id="content">